import {createApp} from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import "@/styles/theme/theme.less"
import 'element-plus/lib/theme-chalk/index.css';

import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';


import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import * as Icons from "@ant-design/icons-vue";

const icons = Icons;
const app = createApp(App);
app.use(store)
app.use(router)
app.use(Antd)
app.use(ElementPlus)
app.mount('#app')


for (const i in icons) {
    app.component(i, icons[i]);
}